Skip to main content

Compression

(MI.AllowCompress)

Overview

The Compression feature enables Brotli/GZIP compression at the edge. The compression selection method is determined by the client's Accept-Encoding header.

Example

In the example JSON file, this feature is added to the *.m3u8 path configuration to enable compression of manifest files.

"paths": [
{
"path-pattern": {
"pattern": "*.m3u8",
"case-sensitive": false
},
"path-metadata": {
"metadata": [
{
"generic-metadata-type": "MI.AllowCompress",
"generic-metadata-value": {
"allow-compress": true
}
}
]
}
}
]

Supported Properties

FieldValid Values
allow-compresstrue, false